BEGIN {
	#count1=count/10
	#print $count
	i=1
	term=1
	group=1
	#print "remainder is ", remainder, "|   count is ", count
}

{
	#print " term is ", term
	
	if( term != 6 ) {
		if( group > total/10) {
			#print "~~~~"
			print ""
			term++
			group=1
		}
		
	} else {
		if( group > (total/10+total%10) ) {
			#print "remainder is ", total % 10
			#print "----"
			print ""
			term=1
			group=1
		}
	}
	print
	group++
	i++
}

END {

}